// 消息类型定义
export interface NotificationMessage {
  id: string;
  type: 'system' | 'comment' | 'like' | 'follow' | 'mention';
  sender: string;
  content: string;
  avatar?: string;
  link?: string;
  isRead: boolean;
  createTime: string;
  data?: any; // 额外数据
}

// 消息处理器类型
export type MessageHandler = (message: NotificationMessage) => void;
